<?php

$w = [1,2,3,4];
$s = [1,2];
print_r(array_diff($w,$s));
